package com.bazaaroid.server.gae.core.persistence.impl;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManager;
import javax.jdo.PersistenceManagerFactory;

import com.bazaaroid.server.gae.core.persistence.PMF;

public class PMFImpl implements PMF {
	
	private static final PersistenceManagerFactory pmfInstance = JDOHelper
			.getPersistenceManagerFactory("transactions-optional");

	public PMFImpl() {}

	public PersistenceManager getPersistenceManager() {
		return pmfInstance.getPersistenceManager();
	}

}
